package cn.wolfcode.service;

import cn.wolfcode.entity.News;
import cn.wolfcode.qo.NewsQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dou
 * @since 2023-04-13
 */
public interface INewsService extends IService<News> {

    Page<News> queryPage(NewsQuery qo);

    void updateViewNum(long id, long viewnum);

    void insertnow22(News news1);

    List<News> getByHisId(Long hisId);
}
